import request from '@/utils/request'

// 查询团队进货补贴列表
export function listMallTdjhbtRecord(query) {
  return request({
    url: '/mall/mallTdjhbtRecord/list',
    method: 'get',
    params: query
  })
}

// 查询团队进货补贴详细
export function getMallTdjhbtRecord(id) {
  return request({
    url: '/mall/mallTdjhbtRecord/' + id,
    method: 'get'
  })
}

// 新增团队进货补贴
export function addMallTdjhbtRecord(data) {
  return request({
    url: '/mall/mallTdjhbtRecord',
    method: 'post',
    data: data
  })
}

// 修改团队进货补贴
export function updateMallTdjhbtRecord(data) {
  return request({
    url: '/mall/mallTdjhbtRecord',
    method: 'put',
    data: data
  })
}

// 删除团队进货补贴
export function delMallTdjhbtRecord(id) {
  return request({
    url: '/mall/mallTdjhbtRecord/' + id,
    method: 'delete'
  })
}
